* {
  font-family: Source Han Sans;
}

video {
  width: 100% !important;
  height: auto !important;
}

.ts-header {
  height: 60px;
  background: #114eb8;
  z-index: 9999;
  padding: 0 !important;
}

.ts-header-nav {
  position: sticky !important;
  top: 0px;
}

.ts-navbar-nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff !important;
}

.ts-nav-link {
  white-space: nowrap;
  color: #fff !important;
  text-align: center;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ts-dropdown-menu {
  background-color: rgba(63, 63, 63, 0.8);
  color: #fff;
}

.ts-dropdown-item {
  color: #fff !important;
}

.ts-dropdown-item:hover {
  color: #fff !important;
  background-color: #0064de !important;
}

.ts-content {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 6.25rem;
}

/* 标题加更多样式 */
/* .ts-home-module {
    padding: 4rem 0;
} */
/* 标题样式 外层div */
.ts-subtitle-main {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 1rem 0 2rem 0;
  justify-content: center;
  position: relative;
}

/* 标题样式 */
.ts-subtitle {
  font-family: Microsoft YaHei;
  font-size: 1.5rem;
  font-weight: 700;
  color: #353637;
  text-decoration-color: #20298c !important;
  text-decoration: underline;
  text-underline-offset: 0.75rem;
}

/* 标题右侧 更多 样式 */
.ts-subtitle-more {
  position: absolute;
  right: 0;
  cursor: pointer;
  font-size: 1rem;
  color: #7b7c85;
}

/* 标题右侧 更多 鼠标滑过样式 */
.ts-subtitle-more:hover {
  color: rgba(32, 41, 140, 0.8);
}

/* 天枢之窗 */

.ts-window-header-text {
  font-weight: 400;
  font-size: 1.5rem;
  color: #20298c;
  text-decoration: underline;
}

.ts-window-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  margin: 20px auto;
}

.ts-window-img {
  /* width: 60%; */
  height: 100%;
  padding: 0 12px;
}

.ts-window-content-text {
  padding: 1rem;
  color: black;
  /* width: 400px; */
  /* height: 400px; */
}

.ts-window-left-detail-title {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.ts-window-left-detail {
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /* -webkit-line-clamp: 6; */
  line-height: 1.5rem;
  max-height: 9rem;
  font-size: 1rem;
}

.ts-window-news {
  width: 100%;
  margin-top: 60px;
}

.box-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 60px;
  margin-left: 55px;
}

.box-left {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.box-min {
  width: 0.7rem;
  height: 0.7rem;
  border-style: solid;
  color: #20298c;
  margin-right: 20px;
}

.box-right-text {
  /* width: 300px; */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.time {
  color: #7b7c85;
  font-size: 13px;
}

.dashed-line {
  border: 1px dashed #8e8e8f;
  /* width: 360px; */
}

/* 产品简介 */
.product-bgm {
  width: 100%;
  min-height: 300px;
  background-image: url("../images/home/product-bgm.png");
  background-repeat: no-repeat;
  background-size: cover;
  color: aliceblue;
}

.ts-subtitle-product {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration-color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 0.75rem;
}

.ts-subtitle-product-more {
  position: absolute;
  right: 0;
  cursor: pointer;
  font-size: 1rem;
  color: #fff;
}

.ts-subtitle-product-more:hover {
  color: rgba(32, 41, 140, 0.8);
}

.product-text {
  padding-top: 10px;
}

@media screen and (min-width: 0px) and (max-width: 570px) {
  .ts-window-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    margin: 20px auto;
    /* background-color: #1A1691; */
  }

  /* 最新报道 内容 图片 */
  .ts-window-img {
    width: 100%;
    text-align: center;
  }

  /* 最新报道 内容 右侧 文字 */
  .ts-window-content-text {
    padding: 0 1rem;
    margin-top: 1rem;
  }

  .ts-window-news {
    width: 100%;
    margin-top: 24px;
  }

  .time {
    display: none;
  }

  .dashed-line {
    display: none;
  }

  .ts-navbar-nav {
    background-color: rgba(0, 0, 0, 0.8);
  }
}

@media screen and (min-width: 570px) and (max-width: 992px) {
  .ts-window-content {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .ts-window-news {
    width: 100%;
    margin-top: 24px;
  }

  .ts-navbar-nav {
    background-color: rgba(0, 0, 0, 0.8);
  }
}


/*视频切换*/

.video-section {
    width: 100%;
    margin: 30px auto;
    display: flex;
    gap: 20px;
}

/* 主视频区域 */
.main-video-container {
    flex: 3;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.main-video {
    width: 100%;
    height: auto;
    display: block;
}

/* 视频列表区域 */
.video-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 缩略图样式 - 固定174×95 */
.video-thumbnail {
    width: 174px;
    height: 95px;
    cursor: pointer;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 视频标题覆盖层 */
.video-thumbnail .title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 8px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    font-size: 13px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 播放时长标记 */
.video-thumbnail .duration {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 12px;
    padding: 2px 5px;
    border-radius: 3px;
}

/* 选择样式 - 选中状态 */
.video-thumbnail.selected {
    border: 2px solid #0064DE;
    transform: scale(1.03);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/*.video-thumbnail.selected::before {
    content: "\f0d9";
    font-family: "FontAwesome";
    position: absolute;
    top: 50%;
    left: -8px;
    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 10px solid #165DFF; /* 三角颜色与边框一致 *
}
*/
/* 悬停效果 */
.video-thumbnail:not(.selected):hover {
    transform: scale(1.02);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* 播放按钮图标 */
.video-thumbnail .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-thumbnail .play-icon::after {
    content: "\f04b";
    font-family: "FontAwesome";
    color: #ff3b30;
    font-size: 16px;
    margin-left: 2px;
}

.video-thumbnail:hover .play-icon {
    opacity: 1;
}